package stars;

import java.util.ArrayList;

import view.ViewModule;

import com.jme3.math.Vector3f;
import com.jme3.scene.Spatial;

import controls.RotationControl;

import modifiers.Feature;

public class StarControlBuilder {
	
	public StarControl createControl(
			StarModel model,
			ArrayList<Feature> features,
			ViewModule views) {
		
		StarControl control = new StarControl(model, views);
//		control.registerEvents();
		
		
		//add other GameControls
		RotationControl rotControl = new RotationControl();
		rotControl.setRotationAxis(new Vector3f(0,0,1), 0.25f);
		control.addGameControl(rotControl, "Detail");
		//Etc...
		
		
		
		return control;
		
	}

}
